package com.ruicar.afs.cloud.channel.affiliation.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author panhj
 */
@Data
@TableName("channel_affiliated_units_rel_temp")
@ApiModel(value = "挂靠单位关联表")
public class ChannelAffiliatedUnitsRelTemp extends BaseEntity<ChannelAffiliatedUnitsRelTemp> implements Serializable {
    private Long channelId;
    private Long arriliatedId;
    private String status;
    private String createBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private String updateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date channelTermValidity;

}
